"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getUmiService = void 0;
const ServiceWithBuiltIn_1 = require("./ServiceWithBuiltIn");
const getCwd_1 = __importDefault(require("./utils/getCwd"));
const getPkg_1 = __importDefault(require("./utils/getPkg"));
exports.getUmiService = (props) => {
    return new ServiceWithBuiltIn_1.Service(Object.assign({ cwd: getCwd_1.default(), pkg: getPkg_1.default(process.cwd()) }, props));
};
